import React from 'react'

import {WeaTools} from 'ecCom';
let Base64 = WeaTools.Base64;


export default class ContainerViewProxy extends React.Component{



    render(){
        const {ContainerView} = this.props
        const {data,tabId} = this.props.state
        const {id,items} = data

        // 有more页面地址元素
        let moreUrl = `/cloudstore/e9DevModules/portal/element/rss/index.html#/more?id=${id}&moreTabId=${tabId}`

        //没有more页面地址元素，需要在setting 中设配置项
        // let moreUrl = ""
        // if(items.length > 0){
        //     moreUrl = items[tabId].setting.moreUrl
        // }
        return (
            <ContainerView ecId={`${this && this.props && this.props.ecId || ''}_ContainerView@23ep5z`} ref='ContainerView' {...this.props} moreUrl={moreUrl}></ContainerView>
        )
    }
}